package com.ruoyi.repairArea.service;

import com.ruoyi.project.domain.HouseProjectT;
import com.ruoyi.project.domain.HouseRepairCheckT;
import com.ruoyi.repairArea.domain.HouseRepairAreaT;

import java.util.List;

/**
 * 户资金修改Service接口
 * 
 * @author tyq
 * @date 2023-05-24
 */
public interface IHouseRepairAreaTService 
{
    /**
     * 查询户资金修改
     * 
     * @param doorId 户资金修改主键
     * @return 户资金修改
     */
    public HouseRepairAreaT selectHouseRepairAreaTByDoorId(Long doorId);

    /**
     * 查询户资金修改列表
     * 
     * @param houseRepairAreaT 户资金修改
     * @return 户资金修改集合
     */
    public List<HouseRepairAreaT> selectHouseRepairAreaTList(HouseRepairAreaT houseRepairAreaT);
    public HouseRepairAreaT selectHouseRepairAreaSum(HouseRepairAreaT houseRepairAreaT);

    /**
     * 新增户资金修改
     * 
     * @param houseRepairAreaT 户资金修改
     * @return 结果
     */
    public int insertHouseRepairAreaT(HouseRepairAreaT houseRepairAreaT);

    /**
     * 修改户资金修改
     * 
     * @param houseRepairAreaVO,houseRepairCheckO 户资金修改
     * @return 结果
     */
    public int updateHouseRepairAreaT(HouseRepairAreaT houseRepairAreaVO, HouseRepairCheckT houseRepairCheckO,HouseProjectT houseProjectT);

    /**
     * 批量删除户资金修改
     * 
     * @param doorIds 需要删除的户资金修改主键集合
     * @return 结果
     */
    public int deleteHouseRepairAreaTByDoorIds(Long[] doorIds);

    /**
     * 删除户资金修改信息
     * 
     * @param doorId 户资金修改主键
     * @return 结果
     */
    public int deleteHouseRepairAreaTByDoorId(Long doorId);

    /**
     * 核算维修项目
    *
     * @param projectVO,repairListTemp 核算维修项目主键
     * @return 结果
     */
    public int updateProjectAndRepair(HouseProjectT projectVO, List<HouseRepairAreaT> repairListTemp);

    public HouseRepairAreaT selectHouseProjectTByProjectId(HouseRepairAreaT houseRepairAreaT);
    public HouseRepairAreaT getRepairDetail(HouseRepairAreaT houseRepairAreaT);


}
